package net.suncaper.mvc.model.domain;

import java.math.BigDecimal;

/**
 * 房间信息实体类
 */
public class Room {
    /**
     * 房型名称
     */
    private String roomType;

    /**
     * 所属酒店名称
     */
    private String hotelName;

    /**
     * 房型图片URL
     */
    private String imageUrl;

    /**
     * 房型价格
     */
    private BigDecimal price;

    /**
     * 可用房间数量
     */
    private Integer availableCount;

    /**
     * 早餐类型（含/不含/可选）
     */
    private String breakfast;

    // 无参构造函数
    public Room() {
    }

    // 全参构造函数
    public Room(String roomType, String hotelName, String imageUrl, BigDecimal price, Integer availableCount, String breakfast) {
        this.roomType = roomType;
        this.hotelName = hotelName;
        this.imageUrl = imageUrl;
        this.price = price;
        this.availableCount = availableCount;
        this.breakfast = breakfast;
    }

    // Getter 和 Setter 方法
    public String getRoomType() {
        return roomType;
    }

    public void setRoomType(String roomType) {
        this.roomType = roomType;
    }

    public String getHotelName() {
        return hotelName;
    }

    public void setHotelName(String hotelName) {
        this.hotelName = hotelName;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getAvailableCount() {
        return availableCount;
    }

    public void setAvailableCount(Integer availableCount) {
        this.availableCount = availableCount;
    }

    public String getBreakfast() {
        return breakfast;
    }

    public void setBreakfast(String breakfast) {
        this.breakfast = breakfast;
    }
}